package com.iot08.api.constant;

/**
 * @version 1.0
 * @Description:
 * @time: 2020/11/19 16:08
 * @author: Rock
 */
public class Constant {

    //设备绑定的家庭成员的数量限制
    public static final int DEVICE_OPENID_NUM = 50;
    //微信推送类型,文字
    public static final int WEIXIN_PUSH_TYPE_1 = 1;
    //微信推送类型，图片
    public static final int WEIXIN_PUSH_TYPE_2 = 2;

    public static final String GET = "GET";
    public static final String VIDEO = "video";
    public static final String DATA_FLOW = "dataflow-monitoring";
    public static final String HEALTH_FUNCTION = "healthfunction";

    public static final String PWDCHANGE = "pwdchange";
    public static final String INVALID = "invalid";

    public static final String YQAD_UPDATE = "YQADUpdate&";

    public static final String AUTH_KEY = "DEAB6C70915E42CBB06AA11D85550813&";

    //赛诺系统的 13202003459 123456
//    public static final String APP_AUDIT_ACCOUNT = "9a81b1031fad9494facfe974";

    //赛诺系统的 13220191107 123456
//    public static final String APP_AUDIT_ACCOUNT = "2c312c229d5d523aad6a68ef";


    public static final String SMS_KEY_PREFIX = "sms:";

    public static final String SMS_LIMIT_COUNT_KEY_PREFIX = "sms:limitCount:";

    public static final String LOGIN_REFRESH_TOKEN_KEY = "login_refresh_tokens:";

    public final static String APP_SECRET = "qwtetx87gfdsgsdtq4611Tem";

    public final static String SIGN ="sign";

    public final static String TIMESTAMP = "timeStamp";

    public final static String BODY_FORM = "bodyForm";


    public final static String WIFI_SEARCH_PREFIX="wifiSearch:";

    public final static String WIFI_SEARCH_OPENID_PREFIX="wifiSearchOpenId:";

    public final static Integer WIFI_SEARCH_DATA_CACHE_TIME=300;

    public final static String WIFI_CURRENT_CONNECT_PREFIX="wifiCurrentConnect:";

    public final static Integer WIFI_CURRENT_CONNECT_DATA_CACHE_TIME=60;

    public final static String WIFI_CUR_OPENID_PREFIX="wifiCurOpenId:";

    public final static String WIFI_SET_OPENID_PREFIX="wifiSetOpenId:";

    public final static String WIFI_SET_ID_PREFIX="wifiSetId:";
    public final static Integer WIFI_SET_ID_CACHE_TIME=60;

    public final static String REDIS_VIP_MEMBER_POSTFIX="-vm";

    public final static String REDIS_VIP_GOLD_COIN_POSTFIX="-gc";

    public final static String DEVICE_SEND_VOICE_TIMES_UP_LIMIT_REDIS_KEY="deviceSendVoiceTimesUpLimit";

    public final static String USER_SEND_VOICE_TIMES_UP_LIMIT_REDIS_KEY="userSendVoiceTimesUpLimit";

    public final static String NO_VIP_UNREAD_TIME_PREFIX="noVip-";

    public final static String ALIPAY_PAYMENT_NOTIFY_TYPE="trade_status_sync";

    public final static String WECHAT_PAYMENT_NOTIFY_TYPE="TRANSACTION";

    public final static String WECHAT_REFUND_NOTIFY_TYPE="REFUND";

    public final static Integer ALIPAY_PAY_NOTIFY_TYPE=1;

    public final static Integer ALIPAY_REFUND_NOTIFY_TYPE=2;

    public final static String ALIPAY_TRACNSACTION_NOT_EXIST_CODE="ACQ.TRADE_NOT_EXIST";


    public final static String SEND_LOW_POWER_SMS_NOFIGY_POSTFIX = "-lowPowerWarning" ;


    public final static Integer LOW_POWER_SMS_NOFIGY_TEMPLATE_TYPE = 3;

    public final static String  LOW_POWER_SMS_NOFIGY_TEMPLATE_VARIABLE_NAME = "device_id";

    public final static String INQUIRE_PHONE_CHARGE_CACHE_POSTFIX="-ipc";

    public final static String ENTER_FENCE_SMS_NOFIGY_POSTFIX = "-enter" ;

    public final static Integer ENTER_FENCE_SMS_NOFIGY_TEMPLATE_TYPE = 4;

    public final static String  FENCE_SMS_NOFIGY_TEMPLATE_VARIABLE_NAME = "device_id";

    public final static String LEAVE_FENCE_SMS_NOFIGY_POSTFIX="-leave";

    public final static Integer LEAVE_FENCE_SMS_NOFIGY_TEMPLATE_TYPE = 5;

    public final static String APP_NAME = "一路守护";

    public final static String VIP_RECENT_EXPIRE_POSTFIX = "-vipExpire";

    public final static String FIRST_CHARGE_VIP_REMIND= "-firstChargeVipRemind";
    public final static String SLEEP_QUALITY_CERITERION="优：翻身次数<28\\r\\n良：28≤翻身次数≤40\\r\\n差：翻身次数>40";

    public final static String LOW_BATTREY_WARN_NOTIFY_EXISTS_POSTFIX = "-lbwn";

    public final static Integer DEFAULT_COUNTRY_CODE = 86;

    public final static String MAX_SERIAL_NUM_KEY_POSTFIX= "-maxSerialNum";

    public final static Integer DEFAULT_LOCATION_UPLOAD_INTERVAL = 60000;
    public final static String PP_MAKE_FRIEND_KEY = "pp_make_friend_datas";

}
